#!/usr/bin/perl
#add_slave.cgi

require './network-lib.pl';
&ReadParse();

if(!$in{'add_slave_card'})
{
	&error($text{'no_select_card'});	
}
`/etc/sysconfig/network-scripts/bond_cfg add $in{'add_slave_card'}`; 
&redirect("conf_bond.cgi");
